package com.heima;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;

public class Main {
    public static void main(String[] args) {
        HashMap<String,String> map=new HashMap<String,String>();
        map.put("a","b");
        map.put("a","c");
        for (Map.Entry<String, String> stringStringEntry : map.entrySet()) {
            System.out.println(stringStringEntry.getKey()+"==="+stringStringEntry.getValue());
        }

    }
}